Function: getHash( stringOptionalURL ) Description: Returns the hash tag for a URL. Returns: String. Note: If stringOptionalURL is undefined, the current browser URL in the address bar will be used instead. Example: // Get the hash tag on the current address bar URL. var hashTag = $A.getHash(); // Or get the hash tag on the specified URL. var hashTag = $A.getHash("https://whatsock.com/#AutomationTab"); // Returns: "AutomationTab"